From: Debian Qt/KDE Maintainers Date: Thu, 27 Nov 2025 14:54:31 +0000 (+0100) Subject: include to fix some GCC 11 build issues X-Git-Tag: archive/raspbian/5.15.2+dfsg-9+rpi1+deb11u2^2~29 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=99fd08774e76d65fbfdb236c6f2ba46b6f9301e7;p=qtbase-opensource-src.git include to fix some GCC 11 build issues Origin: upstream, commits: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=813a928c7c3cf986 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c56d4da2ff631a8 Last-Update: 2021-01-26 Gbp-Pq: Name gcc_11_limits.diff --- diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h index 257efbbdb..a97776c76 100644 --- a/src/corelib/global/qendian.h +++ b/src/corelib/global/qendian.h @@ -44,6 +44,8 @@ #include #include +#include + // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems #include #include diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h index c7a9c87af..5302be072 100644 --- a/src/corelib/global/qfloat16.h +++ b/src/corelib/global/qfloat16.h @@ -43,6 +43,7 @@ #include #include +#include #include #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) diff --git a/src/corelib/text/qbytearraymatcher.h b/src/corelib/text/qbytearraymatcher.h index 0eedfc1d2..f5f9bef7b 100644 --- a/src/corelib/text/qbytearraymatcher.h +++ b/src/corelib/text/qbytearraymatcher.h @@ -42,6 +42,8 @@ #include +#include + QT_BEGIN_NAMESPACE